package com.shhic.hhplt.server.model;

/**
 * 绑定码查询结果对象
 * 通用化处理，由界面解释相关字段的含义
 * @author 张文硕
 *
 */
public class BindingCodeQueryResult {
	private String idCode;	//标识码
	private String queryCode;	//查询条件码
	private String code_0;
	private String code_1;
	private String code_2;
	private String code_3;
	private String code_4;
	private String code_5;
	private String code_6;
	private String code_7;
	private String code_8;
	
	public String getIdCode() {
		return idCode;
	}
	public void setIdCode(String idCode) {
		this.idCode = idCode;
	}
	public String getQueryCode() {
		return queryCode;
	}
	public void setQueryCode(String queryCode) {
		this.queryCode = queryCode;
	}
	public String getCode_0() {
		return code_0;
	}
	public void setCode_0(String code_0) {
		this.code_0 = code_0;
	}
	public String getCode_1() {
		return code_1;
	}
	public void setCode_1(String code_1) {
		this.code_1 = code_1;
	}
	public String getCode_2() {
		return code_2;
	}
	public void setCode_2(String code_2) {
		this.code_2 = code_2;
	}
	public String getCode_3() {
		return code_3;
	}
	public void setCode_3(String code_3) {
		this.code_3 = code_3;
	}
	public String getCode_4() {
		return code_4;
	}
	public void setCode_4(String code_4) {
		this.code_4 = code_4;
	}
	public String getCode_5() {
		return code_5;
	}
	public void setCode_5(String code_5) {
		this.code_5 = code_5;
	}
	public String getCode_6() {
		return code_6;
	}
	public void setCode_6(String code_6) {
		this.code_6 = code_6;
	}
	public String getCode_7() {
		return code_7;
	}
	public void setCode_7(String code_7) {
		this.code_7 = code_7;
	}
	public String getCode_8() {
		return code_8;
	}
	public void setCode_8(String code_8) {
		this.code_8 = code_8;
	}
	public void setCode(int i,String code){
		switch (i){
			case 0:setCode_0(code);break;
			case 1:setCode_1(code);break;
			case 2:setCode_2(code);break;
			case 3:setCode_3(code);break;
			case 4:setCode_4(code);break;
			case 5:setCode_5(code);break;
			case 6:setCode_6(code);break;
			case 7:setCode_7(code);break;
			case 8:setCode_8(code);break;
			default:break;
		}
	}
}
